//保存用户联系购买时间
var purchase = function(openid){
	$.ajax({
		type: "get",
		url: base+"/user/updatePurchaseTime?openid="+openid,
		/*success:function(msg){
			return true;
		},
		error:function(res){
			alert("系统异常，请稍后再试！");
			return false;
		}*/
	});
};
//
/*function show(){
	var date = new Date($(".text3-2").attr("data-val"));
    var min = new Date();
    min.setDate(date.getDate()-30*2);
    var max = new Date();
    max.setDate(date.getDate()+15);
    var date1 = new Date();
    if(date1 >= min && date1 <= max){
    	$(".text3-2").show(); 
    }else{
    	$(".text3-2").hide(); 
    }
}

$(function(){
	show();
});*/